# coding: utf-8
# @Time    : 2023/12/14 16:25
# @Author  : gongshuangxi
# @Email   : sxgong@topdatasec.com

import sys

try:
    # python2
    reload(sys)
    sys.setdefaultencoding('utf-8')
except:
    # python3
    pass



#通用部分
COMMON_OK = 0
COMMON_INPUT_ERROR = -1
COMMON_AUTH_FAILED = -2


COMMON_ERR_MSG_DICT = {
    COMMON_OK: "操作成功",
    COMMON_INPUT_ERROR: "提交数据错误",
    COMMON_AUTH_FAILED: "认证失败",
}

